import _ from "lodash"

var ownerArr = [{
    "owner": "Colin",
    "pets": [{
        "name": "dog1"
    }, {
        "name": "dog2"
    }]
}, {
    "owner": "John",
    "pets": [{
        "name": "dog3"
    }, {
        "name": "dog4"
    }]
}];
console.log(_.map(ownerArr, "pets[0].name"));

let luckyDraw = ["aa", "bb", "cc", "dd", "ee"]
let obj = _.cloneDeep(luckyDraw)
console.log(luckyDraw===obj);